package com.naiterui.ehp.bs.patient.vo.common;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * 城市字典

 * @version 2015年6月24日 下午8:42:01 by Amber
 */
public class CityVO implements Serializable {
    /**
     * <简短描述>
     */
    private static final long serialVersionUID = -4332150317834665928L;
    private Integer id;
    private String name;
    private String parentId;

    @JsonInclude(Include.NON_NULL)
    private List<CityVO> childs;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return this.parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<CityVO> getChilds() {
        return this.childs;
    }

    public void setChilds(List<CityVO> childs) {
        this.childs = childs;
    }

}
